package com.ruoyi.system.monitortask.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 账号监控任务关联商品表(monitor_task_goods)表实体类
 *
 * @author zyy
 * @date 2024-06-21 15:56:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("monitor_task_goods")
public class MonitorTaskGoods {

    @TableId(type = IdType.AUTO)
    @Excel(name = "${column.comment}")
    private Long id;

    /**
     * 创建人id
     */
    @Excel(name = "创建人id")
    private Long createId;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 监控任务id
     */
    @Excel(name = "监控任务id")
    private Long monitorTaskId;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private Long goodsId;
    /**
     * 商品id
     */
    @Excel(name = "商品id")
    @TableField(exist = false)
    private String goodsIds;


}
